const { VITE_HIDE_HOME } = import.meta.env;
const Layout = () => import("@/layout/index.vue");

export default {
  path: "/myDow",
  name: "myDow",
  component: Layout,
  redirect: "/myDow-default",
  meta: {
    icon: "ri:information-line",
    title: " 我下载的脚本",
    rank: 0
  },
  children: [
    {
      path: "/myDow-default",
      name: "myDow-default",
      component: () => import("@/views/myDow/defalut/index.vue"),
      meta: {
        title: "默认分组",
        showLink: VITE_HIDE_HOME === "true" ? false : true
      }
    },
    {
      path: "/myDow-other",
      name: "myDow-other",
      component: () => import("@/views/myDow/other/index.vue"),
      meta: {
        title: "其他分组",
        showLink: VITE_HIDE_HOME === "true" ? false : true
      }
    }
  ]
} satisfies RouteConfigsTable;
